# A valid snippet should starts with:
#
#		snippet trigger_word [ "description" [ options ] ]
#
# and end with:
#
#		endsnippet
#
# Snippet options:
#
#		b - Beginning of line.
#		i - In-word expansion.
#		w - Word boundary.
#		r - Regular expression
#		e - Custom context snippet
#		A - Snippet will be triggered automatically, when condition matches.
#
# Basic example:
#
#		snippet emitter "emitter properties" b
#		private readonly ${1} = new Emitter<$2>()
#		public readonly ${1/^_(.*)/$1/}: Event<$2> = this.$1.event
#		endsnippet
#
# Online reference: https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips.txt

snippet clang-format "clang format config" b
Language                                       : Cpp
BasedOnStyle                                   : Google
AlignArrayOfStructures                         : Left
AccessModifierOffset                           : -4
AlignConsecutiveAssignments                    : true
AlignConsecutiveBitFields                      : Consecutive
AlignConsecutiveDeclarations                   : Consecutive
AlignConsecutiveMacros                         : Consecutive
AlignEscapedNewlines                           : Left
AllowAllArgumentsOnNextLine                    : true
AllowShortBlocksOnASingleLine                  : false
AllowShortCaseLabelsOnASingleLine              : false
AllowShortEnumsOnASingleLine                   : false
AllowShortFunctionsOnASingleLine               : None
AllowShortIfStatementsOnASingleLine            : false
AllowShortLambdasOnASingleLine                 : Empty
AllowShortLoopsOnASingleLine                   : false
AlwaysBreakTemplateDeclarations                : true
BreakBeforeBraces                              : Allman
BreakBeforeInheritanceComma                    : false
BreakConstructorInitializers                   : AfterColon
BreakConstructorInitializersBeforeComma        : false
BreakInheritanceList                           : AfterColon
LambdaBodyIndentation                          : OuterScope
ColumnLimit                                    : 0
ConstructorInitializerAllOnOneLineOrOnePerLine : true
ConstructorInitializerIndentWidth              : 4
IndentWidth                                    : 4
PackConstructorInitializers                    : Never
MaxEmptyLinesToKeep                            : 1
SortIncludes                                   : false
SpaceBeforeCtorInitializerColon                : true
SpaceBeforeParens                              : Never
Standard                                       : C++11
UseTab                                         : Never
endsnippet
